package ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.spring;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.Manager;
import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.ManagerConstructArgs;

/**
 * 从spring中获取或创建{@link Manager}类.
 *
 * @author caspar
 */
public interface ManagerSpringFactory {

  <EntityT, IdT> Manager<EntityT, IdT> getOrCreate(ManagerConstructArgs<EntityT, IdT> args);
}
